home *** CD-ROM | disk | FTP | other *** search
- Path: sn.no!not-for-mail
- From: christon@sn.no (Christopher Naas)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Datatypes bitmap problems
- Date: 20 Feb 1996 18:25:36 +0100
- Organization: SN Internett
- Message-ID: <891.6624T1041T2573@sn.no>
- References: <4g5lq2$6pn@rock101.genie.net> <3128f34d.0@eden.adam.com.au>
- NNTP-Posting-Host: sinsen.sn.no
- X-Newsreader: THOR 2.21 (Amiga;SOUP)
-
- jonathan potter wrote:
-
- >: 2. You don't. You need to copy it, or keep the object. You wouldn't want
- >: to keep it, since you wouldn't know how to free it later. I usually keep
- >: the object. Use PDTA_FreeSourceBitMap, TRUE and the original bitmap will
- >: get deleted, only the source
- >: <<<not source ignore that/// only the remapped bitmap is left. The
- >: overhead of the datatype object isn't that much. Just free the object
- >: later, when you're done with the bitmap.
- >The other point is that if you free the object, you will lose any pens it
- >had allocated for the remapped picture.
- Damn. Is there no way I can make the datatypes remap to the closest possible
- colors on screen without allocating new ones?
-
- --
- Christopher Landmark Naas o EMail: christon@sn.no
- LoungeBar Development o WWW: http://www.sn.no/~christon/
- Former Reg. Amiga Developer o IRC: KarmaComa
-